package com.bruce.starts.demo.commonerror.transaction.demo;

import org.springframework.transaction.TransactionStatus;

import java.util.List;
import java.util.Map;

public interface ThreadExecutionService {
    /**
     * 批处理
     * @return
     */
    int executeBatch(ThreadExecution threadExecution, List sequence, Map<Long, TransactionStatus> longTransactionStatusMap, BatchTransactionInfo info);
}
